package com.example.common.Vo;

import com.example.entity.KeyResults;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author daiweiyuan
 * @date 2022/4/17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditObjectiveVO {
    private Integer id;
    private String name;
    private String descriptors;
    private Integer parentId;
    private Integer departmentId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endTime;
    private Integer reviewUid;
    private List<KeyResults> keyResultsList;

}
